package com.stock.service.impl;

import com.stock.entity.StockBusiness;
import com.stock.mapper.StockBusinessMapper;
import com.stock.service.StockService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class StockServiceImpl implements StockService {
    @Autowired
    private StockBusinessMapper stockBusinessMapper;
    /**
     *
     * 获取所有股票经营业务信息列表
     *
     * @return List
     */
    @Override
    public List<StockBusiness> getStockBusiness() {
        return stockBusinessMapper.selectAll();
    }
}
